class CreateRssChannels < ActiveRecord::Migration
  def self.up
    create_table :rss_channels do |t|
			t.integer :user_id
			t.string :url
      t.timestamps
    end

		add_index :rss_channels, [:user_id], :name=>"fk_user"
  end

  def self.down
    drop_table :rss_channels
  end
end
